﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model_SSResourceManager
{
    public class Resource : BaseModel 
    {
        public string Name { get; set; }

        /// <summary>
        /// between start and end time  users can use this resource. If properties are empty its omitted
        /// </summary>
        public TimeSpan StartTime { get; set; } 
        public TimeSpan EndTime { get; set; }

        public bool Locked { get; set; }
        public TimeSpan TimeOfUsing { get; set; }
        public int UserCount { get; set; }
        public bool OnlyAutoTime { get; set; }
    }
}
